package com.lxhjh.springboot.demo.service;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

@Component
public class HelloService {
	private static final Logger LOGGER =  LoggerFactory.getLogger(HelloService.class);

	public void sayHello(String name) {
		LOGGER.info("Hello {}",name);
	}
}
